package com.gaoqian.chatroom.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.gaoqian.chatroom.dao.MessageDao;

import java.time.LocalDateTime;

public class Message {
    public Integer mid;

    //谁发的
    public Integer uid;
    public  String nickname;

    public String content;

    //什么时候发送的
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    public LocalDateTime publishAt;



}
